package model.datastructure;

public class Fit {

	private FieldSurface2D mSurface;
	private int[] mEmptySpace;
	private int yPosition;
	private int xPosition;
	private int rotation;
	private AbstractBlock block;
	
	public Fit(FieldSurface2D surface, int[] emptySpace, int yPosition){
		this.mEmptySpace = emptySpace;
		this.mSurface = surface;
		this.yPosition = yPosition;
	}

	public FieldSurface2D getSurface() {
		return mSurface;
	}

	public int[] getEmptySpace() {
		return mEmptySpace;
	}

	public int getYPosition() {
		return yPosition;
	}

	/**
	 * @return the xPosition
	 */
	public int getxPosition() {
		return xPosition;
	}

	/**
	 * @param xPosition the xPosition to set
	 */
	public void setxPosition(int xPosition) {
		this.xPosition = xPosition;
	}

	/**
	 * @return the rotation
	 */
	public int getRotation() {
		return rotation;
	}

	/**
	 * @param rotation the rotation to set
	 */
	public void setRotation(int rotation) {
		this.rotation = rotation;
	}

	/**
	 * @return the block
	 */
	public AbstractBlock getBlock() {
		return block;
	}

	/**
	 * @param block the block to set
	 */
	public void setBlock( AbstractBlock block ) {
		this.block = block;
	}
	
	
	
}